#include "CRectangle.h"
#include "CTriangle.h"
#include "conio.h"
int main()
{
	CRectangle rect;
	CTriangle trgl;
	rect.setvalues(4, 5);
	trgl.setvalues(4, 5);
	rect.writeln(rect.area());
	trgl.writeln(trgl.area());
	_getch();
}